import 'package:hrf_app/common/api/http_head.dart';
import 'package:hrf_app/common/services/wp_http.dart';

class ProjectApi {
  static Future<Map<String, dynamic>> getPjProjectPageListApi(data) async {
    var res = await WPHttpService.to.post(
      "${HttpHead.getHttpHead()}/pjProject/getPjProjectPageList",
      data: data,
    );
    var aa = res.data;
    return aa;
  }

  static Future<Map<String, dynamic>> getMkNotebookPageListApi(data) async {
    var res = await WPHttpService.to.post(
      "${HttpHead.getHttpHead()}/mkNotebook/getMkNotebookPageList",
      data: data,
    );
    var aa = res.data;
    return aa;
  }
  static Future<Map<String, dynamic>>getMkNotebookByIdApi (params) async {
    var res = await WPHttpService.to.get(
      "${HttpHead.getHttpHead()}/mkNotebook/getMkNotebookById",
      params:params,
    );
    var aa = res.data;
    return aa;
  }
}
